﻿using D.Medicalcare.Domain.Entities;
using D.Medicalcare.ErrorCode;
using MediatR;

namespace D.Medicalcare.Read.API.Application.Command.MessageCommand
{
    /// <summary>
    /// 查询显示消息公告命令
    /// </summary>
    public class GetMessageCommand : IRequest<APIPaging<Message>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
       
        /// <summary>
        /// 标题
        /// </summary>
        public string? Title {  get; set; }
    }
}
